<script setup lang="ts">
import {useUserStore} from "~/store/user";
const userStore=useUserStore()

</script>

<template>
  <div>
    <el-button @click="userStore.decreaseAge">-</el-button>
    {{userStore.age}}
    <el-button @click="userStore.increaseAge">+</el-button>
  </div>
</template>

<style scoped>

</style>